const fs = require('fs');
// const path = require('path');
// let url = __dirname+'../01-node01.js';
// let url2 = path.resolve(__dirname,'./01-node01.js');
// let url2_1 = path.resolve(__dirname,'../01-node01.js');
// let url3 = './01-node01.js';

// console.log(url2_1);
// console.log(url);
// console.log(url2);
// console.log(url3);

const {resolve} = require('path');
let url = resolve(__dirname,'./01-node01.js')

fs.readFile(url,function(err,data){
    console.log(err);
    console.log(data);
})